package com.ruoyi.dynamic.model.pojo.entity;


import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.pojo.entity.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * <p>
 * 礼物表
 * </p>
 *
 * @author ${author}
 * @since 2024-11-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("youban_gift")
@Schema(name = "Gift对象", description = "礼物表")
public class Gift extends BaseEntity<Gift> {

    @Schema(description = "礼物名称")
    private String giftName;

    @Schema(description = "礼物封面图")
    private String giftImg;

    @Schema(description = "礼物价格")
    private BigDecimal giftPrice;

    @Schema(description = "礼物类型(0普通礼物)")
    private Integer giftType;

    @Schema(description = "礼物持续时间")
    private Integer giftTime;

    @Schema(description = "平台抽取比例")
    private Integer takePercent;

    @Schema(description = "0关闭1正常")
    private Integer status;

    @Schema(description = "礼物特效")
    private String giftSvga;

    @Schema(description = "特效视频")
    private String video;

    @Schema(description = "礼物排序")
    private Integer sort;

    @Schema(description = "礼物标识")
    private String giftMark;

    @Schema(description = "推送通知文字")
    private String flyWord;

    @Schema(description = "礼物类型0小礼物1大礼物2自定义礼物")
    private Integer type;

    @Schema(description = "贡献值比例")
    private BigDecimal contrRatio;

}
